<style>
.content-group {background:#fff;border-radius: 0.5rem;margin-bottom:0.39rem}
.setimg {position:absolute;top:0.15rem;right:0.15rem;padding:0 0.2rem;font-size:0.5rem;color:#fff;background-color:rgba(0,0,0,0.5);border-radius:1rem;}
</style>
<div ng-include="sys_html('common/_header','','','jy_weishop')"></div>
<div class="fui-page fui-page-current page-goods-list">
<div class="topbg" style="position: relative;width:100%;min-height:5.8rem;background: url('../addons/jy_quanhuo/resource/images/topbg.png') no-repeat 50%;background-size: cover;background-color:#ace6b4;">
	<div style="background:none;color:#039646">
		<div class="l" style="padding:0.5rem">
			<span class="bold" style="font-size:1rem">{{pagedata.gametitle || '活动助手'}}</span> • <span style="font-size:0.7rem">微信发活动程序</span>
		</div>
	</div>
	<div style="padding:0 0.5rem;">
		<div style="border-radius: 0.3rem;padding:0.1rem 0.3rem;font-size:0.7rem;color:#039646; background-color: rgba(255,255,255,0.2);">{{pagedata.pluginset.desc ||'商家节假日 老带新 裂变引流 成交复购必备工具'}}</div>
	</div>
	<div ng-if="pagedata.pluginset.hdps.length>0" ng-include="sys_html('common/_hdps')" class="radius" style="padding:0 0.5rem;"></div>
</div>
<div style="background: linear-gradient(#ace6b4, #fff);height:2rem">
</div>
<div class="fui-content" style="padding:0.5rem;top:0;padding-bottom:3rem">
		<div class="fui-cell-group" style="margin-top:-3.6rem;padding:0.5rem;border-radius:0.5rem">
			<div class="fui-cell" style="padding:0">
				<div class="fui-cell-label" style="width:auto;" ng-click="access_json('/myhome/');">
					<img style="border-radius: 50%;width:3rem;height:3rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cell-info" style="font-size:0.7rem">
					<div class="fui-icon-group noborder  col-3">
									<div class="fui-icon-col-sm external" style="margin:0" ng-click="access_json('/order/');">
													<div>
														<div class="text bold" style="line-height:1.6rem;font-size:1rem">{{pagedata.member.ordernum || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的订单>></div>
													</div>
									</div>
									<div class="fui-icon-col-sm external" style="margin:0" ng-click="access_json('/myshoucang/');">
													<div>
														<div class="text bold" style="line-height:1.6rem;font-size:1rem">{{pagedata.member.mylike || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我关注的>></div>
													</div>
									</div>
									<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="line-height:1.6rem;font-size:1rem">
														<i ng-click="access_json('/addgame/');" class="icon icon-jia" style="color:#039646;font-size: 1rem;"></i>
														</div>
														<div ng-click="access_json('/addgame/');" class="subtitle" style="font-size:12px;color: #666;">发起活动</div>
													</div>
									</div>
						</div>
				</div>
			</div>	
			<div class="setimg" ng-click="access_json('/myhome/');">个人中心 <i class="icon icon-qiehuan" style="color:#fff;font-size: 0.6rem;"></i></div>
		</div>
		<div class="fui-cell-group" style="padding:0.5rem;border-radius:0.5rem">
			<div class="fui-cell" style="padding:0">
				<div class="fui-cell-label" style="width:auto;">
					<img style="border-radius: 50%;width:2rem;height:2rem" ng-src="{{tomedia(pagedata.pluginset.kf_logo) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cell-text" style="font-size:0.7rem">
					<div class="bold">专家顾问</div>
					<div class="subtitle" style="font-size:0.6rem">不知道怎么做活动，加我免费1对1服务</div>
				</div>
				<div class="fui-cell-remark noremark" style="font-size:0.7rem">
					<span href="javascript:" ng-click="access_json(pagedata.pluginset.kf_link);" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">添加</span>
				</div>
			</div>		
		</div>
		<div class="fui-tab-scroll" style="margin-top:0.4rem;padding-left:0.5rem">
			<div ng-class="{'item':1,'on':pagedata.showlike!=1 && pagedata.params.groupid==0}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.showlike=0;pagedata.params.groupid=0;pagedata.getlist('game');">热门活动</a></div>
			<div ng-class="{'item':1,'on':pagedata.showlike==1 && pagedata.params.groupid==0}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.showlike=1;pagedata.params.groupid=0;pagedata.getlist('mylike');">我的关注</a></div>
			<div ng-class="{'item':1,'on':pagedata.params.groupid==item.id}" ng-repeat="item in pagedata.groups" style="height:2rem;line-height:2rem">
			<a href="javascript:;" ng-click="pagedata.params.groupid=item.id;pagedata.getlist('game');">{{item.title}}</a>
			</div>
		</div>
		<div ng-include="sys_html('common/_game')"></div>
		<div ng-show="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
</div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('_footer')"></div>
<div ng-include="sys_html('common/_gotop',true)"></div>
<script>
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>
<script>
scope.pagedata.getlist=function(type){
	if(type=='game'){
		scope.tool.get_list('jy_quanhuo/index/getlist/',true);
	}else if(type=='mylike'){
		scope.tool.get_list('jy_quanhuo/myshoucang/getlist/',true);
	}
}
</script>